package run.siyuan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import run.siyuan.model.ProcessDefinitionVo;
import run.siyuan.model.Qj;
import run.siyuan.model.TaskVo;

/**
 * @ClassName QjMapper
 * @Description TODO
 * @Author siyuan
 * @Date 2023/4/15 22:46
 */
@Mapper
public interface QjMapper extends BaseMapper<Qj> {
    /**
     * 分页流程定义 部署信息
     *
     * @param page
     * @return
     */
    IPage<ProcessDefinitionVo> getProcessDefinitionPage(Page<ProcessDefinitionVo> page);

    /**
     * 分页查询任务
     * @param page
     * @return
     */
    IPage<TaskVo>getTaskPage(Page<?>page);


}